<script lang="ts" setup>
defineProps<{ setting: string }>()
</script>

<template>
    <umrp-cover-view>
        <slot></slot>
        <template #layer>
            <umrp-container direction="horizonal" justify="center" align="center" height="100%" :gap="20"
                bg-color="#00000080">
                <umrp-button type="primary" v-state:click="{ setting: setting }">编辑</umrp-button>
                <umrp-button type="primary" v-state:click="{ setting: 'addModule' }">在下方插入</umrp-button>
            </umrp-container>
        </template>
    </umrp-cover-view>
</template>